package cn.tworice.system.service.resources;
import cn.tworice.system.dao.resource.po.ResourcesDto;
import cn.tworice.system.dao.resource.po.ResourcesDO;

import java.util.List;

public interface ResourcesService {
    int editResource(ResourcesDO resources);

    int delResources(Integer[] ids);

    List<ResourcesDto> selectResources(String name);

    List<ResourcesDto> selectResourcesByRoles(List<Integer> roles);

    List<ResourcesDto> queryResourceAll();

    List<ResourcesDto> selectResourcesByPid(Integer pid);

    ResourcesDto selectResourcesDtoById(Integer id);
}
